<div class="wrapper wrapper-content">
    <div class="ibox-content">
        <div class="box">
            <div class="box-body table-responsive">
                <table class="table table-hover">
                    <thead>
                    <tr>
                        <th>{:lang('名称')}</th>
                        <th>{:lang('标识')}</th>
                        <th>{:lang('description')}</th>
                        <th>{:lang('版本')}</th>
                        <th>{:lang('author')}</th>
                        <th>{:lang('operate')}</th>
                    </tr>
                    </thead>
                    {notempty name='list'}
                    <tbody>
                    {volist name='list' id='vo'}
                    <tr>
                        <td>{$vo.title}</td>
                        <td>{$vo.name}</td>
                        <td>{$vo.describe}</td>
                        <td>{$vo.version}</td>
                        <td>{$vo.author}</td>
                        <td>
                            {eq name='vo.is_install' value='1'}
                            <lqf_link><a class="btn confirm ajax-get" href="{:url('addon_uninstall', array('name' => $vo['name']))}"><i  class="fa fa-remove"></i> {:lang('uninstall')}</a></lqf_link>
                            {else/}
                            <lqf_link><a class="btn confirm ajax-get" href="{:url('addon_install', array('name' => $vo['name']))}"><i class="fa fa-refresh"></i> {:lang('install')}</a></lqf_link>
                            {/eq}
                        </td>
                    </tr>
                    {/volist}
                    </tbody>
                    {else/}
                    <tbody>
                    <tr class="odd">
                        <td colspan="6" class="text-center" valign="top">{:config('empty_list_describe')}</td>
                    </tr>
                    </tbody>
                    {/notempty}
                </table>
            </div>
        </div>
    </div>
</div>